Skip to content

fix(deps): update dependency flask to v3.1.3 [security]#4859

Merged
G-Rath merged 1 commit into
google:masterfrom
renovate-bot:renovate/pypi-flask-vulnerability
Feb 20, 2026
Merged

fix(deps): update dependency flask to v3.1.3 [security]#4859
G-Rath merged 1 commit into
google:masterfrom
renovate-bot:renovate/pypi-flask-vulnerability

Conversation

@renovate-bot

Copy link
Copy Markdown
Collaborator

This PR contains the following updates:

Package Change Age Confidence
Flask (changelog) ==3.1.2==3.1.3 age confidence

GitHub Vulnerability Alerts

CVE-2026-27205

When the session object is accessed, Flask should set the Vary: Cookie header. This instructs caches not to cache the response, as it may contain information specific to a logged in user. This is handled in most cases, but some forms of access such as the Python in operator were overlooked.

The severity depends on the application's use of the session, and the cache's behavior regarding cookies. The risk depends on all these conditions being met.

  1. The application must be hosted behind a caching proxy that does not ignore responses with cookies.
  2. The application does not set a Cache-Control header to indicate that a page is private or should not be cached.
  3. The application accesses the session in a way that does not access the values, only the keys, and does not mutate the session.

Release Notes

pallets/flask (Flask)

v3.1.3

Compare Source

This is the Flask 3.1.3 security fix release, which fixes a security issue but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/Flask/3.1.3/
Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-3

  • The session is marked as accessed for operations that only access the keys but not the values, such as in and len. GHSA-68rp-wp8r-4726

Configuration

📅 Schedule: Branch creation - "" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate Bot added the dependencies Pull requests that update a dependency file label Feb 20, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

G-Rath
G-Rath previously approved these changes Feb 20, 2026
@G-Rath G-Rath enabled auto-merge (squash) February 20, 2026 01:22
auto-merge was automatically disabled February 20, 2026 01:28

Head branch was pushed to by a user without write access

@renovate-bot renovate-bot force-pushed the renovate/pypi-flask-vulnerability branch from 6b7bcb2 to 8b79cad Compare February 20, 2026 01:28
@G-Rath G-Rath enabled auto-merge (squash) February 20, 2026 01:29
@G-Rath G-Rath merged commit 6d0ad9b into google:master Feb 20, 2026
19 checks passed
@renovate-bot renovate-bot deleted the renovate/pypi-flask-vulnerability branch February 20, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants